//
//  DrawViewController.h
//  RealEstateQa
//
//  Created by 张立彬 on 13-7-9.
//  Copyright (c) 2013年 com.rong360. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface DrawView:NSObject{
    UIScrollView *ScrollBody;
}

@property int cIndex;


//画制视图
-(void)DrawView:(UIView *)wrap
            //标题
          title:(NSString *)title
            //描述
           desc:(NSString *)desc
            //表格
            table:(UITableView *)table
            //qa列表
          qa:(UITableView *)qa
;

//加载滚动体
//-(void)loadScroll:(UIScrollView *)me wrap:(UIView *)wrap;

//加载说明
-(void)loadDesc:(UIScrollView *)wrap title:(NSString *)title desc:(NSString *)desc;

//同步调试
-(void)syncHeight;

//画标题栏
-(void)titleBar:(UIView *)wrap title:(NSString *)title btn:(UIButton *)btn btnText:(NSString *)btnText;


//画图像
-(void)image:(UIView *)wrap style:(NSString *)style src:(NSString *)src;

//画标签
-(void)label:(UIView *)wrap style:(NSString *)style text:(NSString *)text;

//画表格
-(void)tr:(UITableViewCell *)wrap text:(NSString *)text select:(NSString *)select tail:(NSString *)tail;

//画表格丰富
-(void)trRich:(UITableViewCell *)wrap icon:(UIImage *)icon text:(NSString *)text select:(NSString *)select detail:(NSString *)detail;
@end
